//
//  headerView.m
//  SinceLe
//
//  Created by 李元喜 on 15/11/24.
//  Copyright © 2015年 李元喜. All rights reserved.
//

#import "headerView.h"
#import <UIImageView+WebCache.h>
@implementation headerView

- (void)setMusicModel:(MusicModel *)MusicModel
{
    
    //    @property (nonatomic , strong) NSString *id;//序号*onecellmub;
    //    //@property (nonatomic , strong) NSString *imageurl;//图 *onecellimage;
    //    //@property (nonatomic , strong) NSString *name;//歌名 *onecelltitle;
    //    @property (nonatomic , strong) NSString *content;//文本 *onecellben;
    //    @property (nonatomic , strong) NSString *tags;//分类*onecellbiao;
    //    //@property (nonatomic , assign) NSInteger fav;//点击 *onecelldian;
    //    //@property (nonatomic , assign) NSInteger comm;//图评论*onecellpl;
    //   


    self.onecelltitle.text = MusicModel.title;
    [self.onecellimage sd_setImageWithURL:[NSURL URLWithString:MusicModel.imageurl] placeholderImage:nil];

}


@end
